import React from 'react';
import CreateCRModal from 'components/createCRModal/loadable';

export default class CreateCRModalBoot extends React.Component {
  state = {
    isOpen: true,
  };

  closeSettingModal = () => {
    this.setState({
      isOpen: false,
    });
  };

  render() {
    return <CreateCRModal onCloseModal={this.closeSettingModal} isModalOpen={this.state.isOpen} />;
  }
}
